package com.himore.api.web.model;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.himore.api.common.annotation.Excel;
import  com.himore.api.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 t_sign_record
 *
 * @author ruoyi
 * @date 2021-01-21
 */
public class TSignRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户id */
    private Long userId;

    /** 签到日期 */
    private Date signDate;

    /** 签到类型:1,正常;2,补签 */
    private Integer recordType;

    public Date getSigndateBegin() {
        return signdateBegin;
    }

    public void setSigndateBegin(Date signdateBegin) {
        this.signdateBegin = signdateBegin;
    }

    public Date getSigndateEnd() {
        return signdateEnd;
    }

    public void setSigndateEnd(Date signdateEnd) {
        this.signdateEnd = signdateEnd;
    }

    private Date  signdateBegin;

    private Date  signdateEnd;
    private Integer   signDays;

    //该签到对应的奖品id
    private Long awardId;

    public Long getAwardId() {
        return awardId;
    }

    public void setAwardId(Long awardId) {
        this.awardId = awardId;
    }

    public Integer getSignDays() {
        return signDays;
    }

    public void setSignDays(Integer signDays) {
        this.signDays = signDays;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setSignDate(Date signDate)
    {
        this.signDate = signDate;
    }

    public Date getSignDate()
    {
        return signDate;
    }
    public void setRecordType(Integer recordType)
    {
        this.recordType = recordType;
    }

    public Integer getRecordType()
    {
        return recordType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userId", getUserId())
                .append("createTime", getCreateTime())
                .append("signDate", getSignDate())
                .append("recordType", getRecordType())
                .toString();
    }
}
